<?php

Route::prefix('v1')->namespace('Api')->name('api.v1.')->middleware('cors')->group(function () {
    Route::get('home_configs', 'BannerConfigsController@index')->name('home_configs.index'); // 首页配置
    Route::get('categories', 'CategoriesController@index')->name('categories.index'); // 分类列表
    Route::get('categories/{category}', 'CategoriesController@show')->name('categories.show'); // 分类详情
});

